package org.idea.qiyu.framework.marketing;

import org.idea.qiyu.common.annotations.QiyuBootApplication;
import org.idea.qiyu.framework.marketing.service.IMarketingHandleService;
import org.idea.qiyu.framework.sqlsession.factory.mapping.annotations.EnableMultiSqlSessionFactory;
import org.springframework.boot.SpringApplication;

import javax.annotation.PostConstruct;
import javax.annotation.Resource;

/**
 * @Author linhao
 * @Date created in 6:12 下午 2021/7/23
 */
@QiyuBootApplication
@EnableMultiSqlSessionFactory
public class Application {

    @Resource
    private IMarketingHandleService iMarketingHandleService;

    @PostConstruct
    public void init(){
        iMarketingHandleService.coreHandler(90002);
    }

    public static void main(String[] args) {
        SpringApplication.run(Application.class,args);
    }
}
